Expand description
libmdbx-rs
Rust bindings for libmdbx.
Updating the libmdbx Version
To update the libmdbx version you must clone it and copy the dist/
folder in mdbx-sys/
.
Make sure to follow the building steps.
# clone libmmdbx to a repository outside at specific tag
git clone https://gitflic.ru/project/erthink/libmdbx.git ../libmdbx --branch v0.7.0
make -C ../libmdbx dist
# copy the `libmdbx/dist/` folder just created into `mdbx-sys/libmdbx`
rm -rf mdbx-sys/libmdbx
cp -R ../libmdbx/dist mdbx-sys/libmdbx
# add the changes to the next commit you will make
git add mdbx-sys/libmdbx
License
The entire code within this repository is licensed under the Mozilla Public License v2.0
Modules
- orm
orm
Fully typed ORM for use with libmdbx. Fully typed ORM based on libmdbx.
Macros
- dupsort
orm
- table
orm
- table_info
orm
Structs
- A cursor for navigating the items within a table.
- Supports multiple tables, all residing in the same shared-memory map.
- Options for opening or creating an database.
- Database information.
- If you don’t need the data itself, just its length.
- Database statistics.
- A handle to an individual table in a database.
- Table options.
- An MDBX transaction.
- Write options.
Enums
- An MDBX error kind.
- An iterator over the key/value pairs in an MDBX table.
- An iterator over the keys and duplicate values in an MDBX table.
- MDBX sync mode
Traits
- Implement this to be able to decode data values
Type Definitions
- An MDBX result.